package com.bdqn.serice.impl;

import com.bdqn.serice.SmbmsAddressService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.pojo.SmbmsAddress;
import com.bdqn.mapper.SmbmsAddressMapper;
@Service
public class SmbmsAddressServiceImpl implements SmbmsAddressService {

    @Resource
    private SmbmsAddressMapper smbmsAddressMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return smbmsAddressMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SmbmsAddress record) {
        return smbmsAddressMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(SmbmsAddress record) {
        return smbmsAddressMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(SmbmsAddress record) {
        return smbmsAddressMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(SmbmsAddress record) {
        return smbmsAddressMapper.insertSelective(record);
    }

    @Override
    public SmbmsAddress selectByPrimaryKey(Long id) {
        return smbmsAddressMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SmbmsAddress record) {
        return smbmsAddressMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SmbmsAddress record) {
        return smbmsAddressMapper.updateByPrimaryKey(record);
    }

}
